import styled from 'styled-components';

export const Blogdetailwrap = styled.div`
position: relative;
&>.alltitle{
    border-bottom: #AC0B0B 3px solid;
    line-height: 40px;
    font-size: 15px;
    width: 95%;
    margin:10px auto;
    font-weight: normal;
}
.iconfont{
    cursor: pointer;
}
&>.content1{
    max-height:600px;
    overflow:auto;
    &::-webkit-scrollbar {
        width: 0 !important;
    }
    &>.title{
        text-align: center;
        font-size: 22px;
        margin: 20px 0;
        color: #000;
    }
    &>.headerbox{
        border: #ccc 1px dashed;
        text-align: center;
        padding: 5px 0;
        margin: 0 30px 10px 30px;
        &>span{
            margin-left: 20px;
        }
    }
    &>img{
        display: block;
        width: 386px;
        height: 257px;
        margin: 15px auto;
    }
    &>.summary{
        line-height:1.9;
        margin-top: 15px;
        padding: 10px 30px;
    }
}

&>.pinshow{
    position: absolute;
    top: 0;
    left: 700px;
    top:650px;
    width: 258px;
    height:210px;
    &>.back{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height:100%;
        background: linear-gradient(to bottom,#f1f0ee,transparent,#f1f0ee);
        z-index:10;
    }
    &>.content1{
        position: absolute;
        left: 0px;
        top:0;
        overflow: hidden;
        height: 210px;
        overflow: auto;
        &::-webkit-scrollbar {
            width: 0 !important;
            
        }
        &>.item{
            display: flex;
            position: relative;
            margin-top: 10px;
            &:nth-child(1){
                /* margin-top: 70px; */
            }
            &>img{
                /* position: absolute; */
                width: 30px;
                height: 30px;
                border-radius: 30%;
                margin-top: 19px;
                margin-right: 28px;
            }
            .box {
                position: relative;
                width: 180px;
                height: 60px;
                font-size: 14px;
                line-height: 60px;
                text-align: center;
                background: rgba(200, 54, 54, 0.5);
                -moz-border-radius: 12px;
                -webkit-border-radius: 12px;
                border-radius: 12px;
                z-index:100;
            }
            .box::before {
                position: absolute;
                content: "";
                width: 0;
                height: 0;
                right: 100%;
                top: 20px;
                border-top: 13px solid transparent;
                border-right: 26px solid rgba(200, 54, 54, 0.5);
                border-bottom: 13px solid transparent;
            }
            &>.dianzan{
                margin-top: 20px;
                display: none;
            }
            &:hover{
                &>.dianzan{
                    display: block;
                    cursor: pointer;
                }
            }
        }
    }
}

&>.pubpin{
    margin-top: 25px;
    &>.title{
        font-weight: bold;
        font-size: 15px;
        padding-left: 40px;
    }
    &>.content1{
        width:85%;
        margin:50px auto;
        position: relative;
        &>img{
            display: block;
            position: absolute;
            width: 42px;
            height: 42px;
            border-radius:50%;
            top:-40px;
            left:7px;
        }
        &>textarea{
            outline: none;
            border-bottom: 2px solid red;
            border-right: 2px solid red;
            border-left: 2px solid red;
            border-top: 0;
            border-radius:10px;
            width: 100%;
            height: 150px;
            padding:20px;
        }
        &>.radi{
            position:absolute;
            top:0;
            left:5px;
            width: 46px;
            height: 8px;
            overflow: hidden;
            background: url("http://changyan.sohu.com/mdevp/extensions/cy-skin/030/skin-red/images/border-t.png") no-repeat;
        }
        &>.oneborder{
            position: absolute;
            top: 0;
            right: 3.5px;
            border-top: 2px solid red;
            width:80%;
        }
        &>.nickname{
            position: absolute;
            top: -12px;
            left:57px;
        }
        &>button{
            width: 102px;
            height: 30px;
            overflow: hidden;
            cursor: pointer;
            background-color: transparent;
            background-image: url("http://changyan.sohu.com/mdevp/extensions/cy-skin/030/skin-red/images/post-btn-hover.png");
            background-repeat: no-repeat;
            padding: 0;
            margin: 0;
            margin-left: 500px;
            border: 0;
        }
    }
}
`